package com.bnzj.cloud.business.core.service;

import java.util.List;

import com.bnzj.cloud.business.core.persistence.repository.SysRoleUserDeptRepository;
import org.springframework.stereotype.Service;

import com.bnzj.cloud.business.core.persistence.entity.SysRoleUserDept;
import com.bnzj.core.persistence.BaseService;

@Service
public class SysRoleUserDeptService extends BaseService<SysRoleUserDeptRepository, SysRoleUserDept, Long> {

    public List<SysRoleUserDept> findSysRoleUserDeptByUserId(Long id) {

        return this.repository.findSysRoleUserDeptByUserId(id);
    }
}
